#define _CRT_SECURE_NO_WARNINGS 1
#include "RBTree.h"

int main()
{
	int a[] = { 16, 3, 7, 11, 9, 26, 18, 14, 15 };
	RBTree<int, int> t;
	for (auto n : a)
	{
		t.Insert(make_pair(n, n));
	}
	t.InOder();
	cout << endl;
	cout << t.IsRBTree();
	return 0;
}